#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
}

Widget::~Widget()
{
    delete ui;
}

void Widget::on_up_clicked()
{
    ui->pushButton_5->setGeometry(ui->pushButton_5->x(),ui->pushButton_5->y()-10,ui->pushButton_5->width(),ui->pushButton_5->height());
}


void Widget::on_right_clicked()
{
    ui->pushButton_5->setGeometry(ui->pushButton_5->x()+10,ui->pushButton_5->y(),ui->pushButton_5->width(),ui->pushButton_5->height());
}


void Widget::on_down_clicked()
{
    ui->pushButton_5->setGeometry(ui->pushButton_5->x(),ui->pushButton_5->y()+10,ui->pushButton_5->width(),ui->pushButton_5->height());
}


void Widget::on_left_clicked()
{
    ui->pushButton_5->setGeometry(ui->pushButton_5->x()-10,ui->pushButton_5->y(),ui->pushButton_5->width(),ui->pushButton_5->height());
}

